package com.itheima.service;

import com.itheima.domain.User;

import java.util.ArrayList;
import java.util.List;

public class UserService {
    public List<User> findAll(){
        // 所有数据
        List<User> userList = new ArrayList<User>();
        for(Integer i = 0; i<100; i++) {
            userList.add(new User("Tom", i.toString()));
            userList.add(new User("Jerry", i.toString()));
        }
        return userList;
    };
}
